package com.iwayin.core.dataobject;

import java.util.Date;

import com.iwayin.core.utils.PageInfo;

public class AnswerDO extends PageInfo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1849008528357947686L;
	private Long id;
	private Long askId;
	private Long userId;// 提问人
	private String answerBody;// 提问内容
	private Date createtime;
	private Long voteCount;// 投票数
	private Date updateTime;
	private Integer status;

	private boolean isAnswer;
	private int voteRate;//投票率
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAskId() {
		return askId;
	}

	public void setAskId(Long askId) {
		this.askId = askId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getAnswerBody() {
		return answerBody;
	}

	public void setAnswerBody(String answerBody) {
		this.answerBody = answerBody;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getVoteCount() {
		return voteCount;
	}

	public void setVoteCount(Long voteCount) {
		this.voteCount = voteCount;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public boolean getIsAnswer() {
		return isAnswer;
	}

	public void setIsAnswer(boolean isAnswer) {
		this.isAnswer = isAnswer;
	}

	public int getVoteRate() {
		return voteRate;
	}

	public void setVoteRate(int voteRate) {
		this.voteRate = voteRate;
	}

}